package team.first.moviedb.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author:        HAPPY
  * @Project_name:  project
  * @Package_name:  team.first.moviedb.entity
  * @Date:          2021/10/8 11:22
  */
public class Customer implements Serializable {
    private Integer id;

    private String name;

    private String eMail;

    private String password;

    private static final long serialVersionUID = 1L;

    public Customer(Integer id, String name, String eMail, String password) {
        this.id = id;
        this.name = name;
        this.eMail = eMail;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public Customer setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public Customer setName(String name) {
        this.name = name;
        return this;
    }

    public String geteMail() {
        return eMail;
    }

    public Customer seteMail(String eMail) {
        this.eMail = eMail;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public Customer setPassword(String password) {
        this.password = password;
        return this;
    }
}